<!doctype html>
<html>
<head>
    <include file="public/head"/>
    <title>生成xml网站地图工具</title>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>生成xml网站地图工具</a></li>
    </ul>
    <div class="common-form margin-top-20">
        <div class="well">
            <p>
            <form method="post" class="js-ajax-form"
                  action="{:cmf_plugin_url('Sitemapv2://AdminIndex/addxml',array(),true)}">
                <b>
                    <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">生成xml网站地图</button>
                </b>
            </form>
            <br>
            </p>

            <p>
                <b>xml预览地址:</b><a href="{$host}/sitemap.xml" target="_blank">{$host}/sitemap.xml</a>
            </p>
        </div>
        <div class="well" style="display: none;">
            <p>
            <form method="post" class="js-ajax-form"
                  action="{:cmf_plugin_url('Sitemapv2://AdminIndex/addxml2',array(),true)}">
                <b>
                    <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">手机端生成xml网站地图</button>
                </b>
            </form>
            <br>
            </p>
            <p>
                <b>移动端xml预览地址:</b><a href="{$mobile}/sitemap_m.xml" target="_blank">{$mobile}/sitemap.xml</a>
            </p>
        </div>
    </div>
</div>
<include file="public/scripts"/>
</body>
</html>